package com.lds.config.center.server.business.cluster.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lidongsheng
 * @since 2025-06-26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Cluster implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 集群ID
     */
    private Long id;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 集群名称
     */
    private String name;

    /**
     * 环境ID
     */
    private Long envId;

    /**
     * 描述
     */
    @TableField("`desc`")
    private String desc;
}
